<template>
	<view class="cu-bar foot tabbar bg-white">
			<view class="action" :class="index==0?'text-cyan':'text-gray'">
				<view class="cuIcon-cu-image">
					<text class="cuIcon-edit"></text>
					</view>
					<view>收集</view>
					</view>
				<view class="action" :class="index==1?'text-cyan':'text-gray'">
				<view class="cuIcon-cu-image">
					<text class="cuIcon-calendar"></text>
				</view>
				<view>日志</view>
			</view>
			<view class="action" :class="index==2?'text-cyan':'text-gray'">
				<view class="cuIcon-cu-image">
					<text class="cuIcon-emoji"></text>
					<view class="cu-tag badge"></view>
				</view>
				<view>回顾</view>
			</view>
		</view>
</template>

<script>
	export default {
			// 自定义组件属性
			props: {
				index:{
					type:Number,
					value:0
				}
			}
		}
</script>

<style>
</style>